home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- fn_handler/FileNotify
- fn_handler/NOTIFY
- fn_handler/FileNotify fn_handler/FileNotify
-
- NAME
- FileNotify - Send command to fn_handler
-
- SYNOPSIS
- FileNotify(struct AppInfo * ai, STRPTR str, ULONG tags,...)
-
- struct AppInfo *ai;
- STRPTR str;
- ULONG tags,...
-
- FUNCTION
- This function lets the application send commands to the fn_handler.
-
- EXAMPLE
- FileNotify(ai, NULL,
- FN_Command, FN_INQUIRY,
- FN_Filename, "dh0:testfile"
- FN_Error, &error,
- FN_Buffer, fndata,
- TAG_DONE);
-
- INPUTS
- ai - pointer to the AppInfo structure for this application.
- str - pointer to a command line like string or NULL
- tags - stack based TagItems.
-
-
- RESULT
- Error values are returned in ai->Pri_Err and ai->Sec_Err.
- If requested, the primary error value is returned in an
- application supplied BOOL variable.
- If requested, the data as used by the fn_handler is returned
- in an application supplied FNData structure.
-
- SEE ALSO
- NOTIFY / fn_handler.h
-
- fn_handler/NOTIFY fn_handler/NOTIFY
-
- NAME
- NOTIFY - Send a command to the fn_handler
-
- SYNOPSIS
- FNotifyID <Command> <FILE=filename> [INT=interval]
- [RET=retries] [FLAGS=flags]
-
- FUNCTION
- Allows command line commands to be directly send to the handler.
-
- Accepted commands: ADD, DEL, SYNC.
- See fn_handler.h for valid flags.
- If optional arguments are ommited, interval defaults to 60,
- retries to -1, flags to FN_NEWER.
-
- EXAMPLE
-
- NOTIFY ADD FILE=topcat:mbox INT=20 RET=-1 FLAGS=FN_NEWER|FN_MUSTEXIST
-
-
- SEE ALSO
- FileNotify() / fn_handler.h
-
-